package com.sunwayworld.basemodule.business.batch.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.batch.bean.LimsBatchBean;
import com.sunwayworld.basemodule.business.batch.dao.LimsBatchDao;
import com.sunwayworld.basemodule.business.batch.mapper.LimsBatchMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsBatchDaoImpl extends MybatisDaoSupport<LimsBatchBean, Long> implements LimsBatchDao {

    @Autowired
    private LimsBatchMapper limsBatchMapper;

    @Override
    public LimsBatchMapper getMapper() {
        return limsBatchMapper;
    }

    @Override
    public List<Map<String, Object>> selectForBatchDetailPage(MapperParameter parameter) {
        return getMapper().selectForBatchDetailPage(parameter);
    }
}
